package com.zrzy.service.impl;

import com.zrzy.entity.Course;
import com.zrzy.service.CourseService;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by gtz on 2017/3/8.
 */
//@Service
//@RequestMapping("/couse")
public class CourseServiceImp implements CourseService{
   @Resource
    private CourseService courseService;

    public CourseService getCourseService() {
        return courseService;
    }

    public void setCourseService(CourseService courseService) {
        this.courseService = courseService;
    }

//    @Override
//    @RequestMapping("/java")
    public List<Course> queryAllCourse() {
        return  null;
    }
}
